<template>
   <div class="block">
       <div class="right-top">题型预览</div>
       <span style="font-weight:bold;">&nbsp;标题</span>
       <br><br>

  <el-rate
    v-model="value2"
    :colors="colors"
    show-text>
  </el-rate>
    </div>
</template>

<script>
  export default {
    data() {
      return {
       
        value2: 4,
        colors: ['#99A9BF', '#F7BA2A', '#FF9900']  // 等同于 { 2: '#99A9BF', 4: { value: '#F7BA2A', excluded: true }, 5: '#FF9900' }
      }
    }
  }
</script>
<style>
</style>